package org.leslie.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class rootController {

    @GetMapping("/health-check")
    public String getRootMessage(){
        return "Server is starting.";
    }

    @GetMapping("/")
    public String getRootMessage2(){
        return "<div style='color:red'>Hello World</div>";
    }
}
